-- msg_relic_defense
-- Create by panyl
-- 防守记录

return function(lpc)
    local newRecord = lpc.record;

    trace("msg_relic_defense", "防守记录，record：%s", tableToString(newRecord));

    local record = ME.user.dbase:query("relic_combat_record", {});

    record = table.add(record, newRecord);

    ME.user.dbase:set("relic_combat_record", record);
end
